import request from '@/utils/request'

/**
 * 支付模块
 */
export function pay(data) {
    return request({
        url:'/c2c/alipay/pay',
        method:'post',
        data
    })
}

/**
 * 查询支付信息
 */
export function query(params) {
    return request({
        url:'/c2c/alipay/query',
        method:'get',
        params
    })
}